<%--
  Created by IntelliJ IDEA.
  User: wulimin
  Date: 2021/12/13
  Time: 16:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录页面</title>
</head>
<body>
    <div style="height: auto;width: 80%">
        <form action="login" method="post">
            <p> 姓名: <input type="text" name="userName" value="" placeholder="请输入管理员账号名"></p>
            <p> 密码: <input type="password" name="password" value="" placeholder=""><br />
                <%= request.getAttribute("error") == null ? "" : request.getAttribute("error") %>
            </p>
            <p> <input type="submit" value="登录" /></p>
        </form>
    </div>

</body>
</html>
